﻿using AIVision.Model;
using AIVision.Model.EntityModels;
using AIVision.Model.InspectModels;
using HalconDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AIVision.Inspect
{
    public interface ICheckUnit
    {


        EnumInspectType InspectType { get; }
        void Init(string hcFilePath, List<DefectItemDto> defectItems, int okScore);
        void Init(string hcFilePath, string processFilePath, string modelFilePath, HTuple dlDevice, List<DefectItemDto> defectItems, int okScore);
        void Stop();
        InspectResultModel ExUnitCheck(HObject image);
    }
}
